package com.lazyframework.generator.response;

import com.lazyframework.commons.support.ResponseStatus;

public enum GenerateResponseStatus implements ResponseStatus {

    NO_PROVIDERS_EXCEPTION(2001, "No provider found.");

    private int value;

    private String reasonPhrase;

    GenerateResponseStatus(int value, String reasonPhrase) {
        this.value = value;
        this.reasonPhrase = reasonPhrase;
    }

    @Override
    public int value() {
        return this.value;
    }

    @Override
    public String reasonPhrase() {
        return this.reasonPhrase;
    }
}
